package com.zzyl.nursing.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @version: 1.0
 * @Author: 李佳毅
 * @description:
 * @date: 2025-07-28 15:08
 */

@Component
@Slf4j
public class MyTask {

//    @Scheduled(cron = "0/5 * * * * ?")
    public void run() {
        log.info("定时任务开始执行" + LocalDateTime.now());
    }
}
